<script>
	export default {
		onLaunch: function() {
			try {
				uni.hideTabBar(); // 隐藏 tabBar
			} catch (e) {
				return
			}
			console.log('App Launch');
		},
		onShow: function() {
			console.log('App Show');
		},
		onHide: function() {
			console.log('App Hide');
		},
	};
</script>

<style lang="scss">
	/*每个页面公共css */
	@import url('./static/css/bootstrap-icons.css');

	page {
		background-color: #f8fafb;
	}

	.page-container {
		padding-bottom: 100rpx;
		padding-bottom: calc(150rpx + env(safe-area-inset-bottom));
		padding-bottom: calc(150rpx + constant(safe-area-inset-bottom));
	}

	.container {
		width: 670rpx;
	}

	.m-auto {
		margin: 0 auto;
	}

	.shadow {
		box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5);
	}

	.truncate {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.card {
		border-radius: 20rpx;
		background-color: white;
		box-shadow: 0 0 8px 0 rgba(232, 237, 250, 0.6), 0 2px 4px 0 rgba(232, 237, 250, 0.5);
	}

	.flex-around {
		display: flex;
		align-items: center;
		justify-content: space-around;
	}

	.flex-center {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.flex-between {
		display: flex;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
</style>